#!/usr/bin/python
#-*- coding: utf-8 -*-

import re, anydbm

mesh_hash = anydbm.open("mesh_dbm", 'r')

mesh_keys = mesh_hash.keys()
mesh_keys.sort()

for number in mesh_keys:
    if mesh_hash[number] == "Carcinoma":
        print number + " => " + mesh_hash[number]

print mesh_hash['C04']
print mesh_hash['C04.557']
print mesh_hash['C04.557.470']
print mesh_hash['C04.557.470.200']
print